package com.sslfer.order.feignClient;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author sslf
 * @date 2018/6/16
 */
@FeignClient("service-provider-user")
public interface UserFeignClient {

    @PostMapping("/user/userInfo")
    String userInfo(@RequestParam("id") String id);

}
